<%--
  Created by IntelliJ IDEA.
  User: liangliang
  Date: 2018/6/25
  Time: 17:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>antStyle</title>
</head>
<body>
<h1>Ant Style Url</h1>
<h2>使用 @RequestMapping 映射请求</h2>
<h3>Ant 风格资源地址支持 3 种匹配符：</h3>
<ul>
    <li>?：匹配文件名中的一个字符</li>
    <li>*：匹配文件名中的任意字符</li>
    <li>**：** 匹配多层路径</li>
</ul>
<h3>@RequestMapping 还支持 Ant 风格的 URL</h3>
<ul>
    <li>/user/*/createUser: 匹配 /user/aaa/createUser、/user/bbb/createUser 等 URL</li>
    <li>/user/**/createUser: 匹配 /user/createUser、/user/aaa/bbb/createUser 等 URL</li>
    <li>/user/createUser??: 匹配 /user/createUseraa、/user/createUserbb 等 URL</li>
</ul>
</body>
</html>
